package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.stereotype.Service;


public interface AdSensitiveService extends IService<AdSensitive> {
    // 分页查询
    public ResponseResult findByNameAndPage(SensitiveDto dto);
    public ResponseResult addSensitive(AdSensitive adSensitive);
    public ResponseResult editSensitive(AdSensitive adSensitive);
    public ResponseResult deleteSensitive(Integer id);

}
